package com.library.dao;

import java.util.ArrayList;


public interface BookTitleDAO {
	public boolean insert(BookTitle bookTitle);
	public boolean remove(int bookTitleId);
	public boolean update(BookTitle bookTitle);
	public BookTitle findByKey(int bookTitleId);
	public ArrayList<BookTitle> findAll();
	public ArrayList<BookTitle> search(String title, String author, String publisher);
	public ArrayList<BookTitle> getNRandomBook(int n);
	public int getNoBookWithState(String state, int bookTitleId);
}
